package org.linlinjava.litemall.wx.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 卡买卡dto
 *
 * @author yliyun
 * @date 2022/10/19
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("卡买卡dto")
public class CardBuyCardDTO {

    /**
     * 支付卡号
     */
    @NotNull
    @ApiModelProperty("支付卡号")
    private String payCardNumber;

    /**
     * 被购买卡ID
     */
    @NotNull
    @ApiModelProperty("被购买卡ID")
    private Integer buyCardId;

    /**
     * 金额
     */
    @NotNull
    @ApiModelProperty("金额")
    private BigDecimal amount;

    /**
     * 商店ID
     */
    @NotNull
    @ApiModelProperty("商店ID")
    private Integer shopId;

}
